
package com.ruoyi.nongjt.service;

import com.ruoyi.nongjt.domain.pojo.NjtSupervisor;
import java.util.List;

public interface NjtSupervisorService {
    List<NjtSupervisor> getNjtSupervisorList(NjtSupervisor supervisor);

    /**
     * 根据手机号查询监管者
     */
    NjtSupervisor getSupervisorByPhone(String phone);

    /**
     * 插入新监管者
     */
    int insertNjtSupervisor(NjtSupervisor supervisor);
    /**
     * 根据手机号重置监管者密码
     */
    int resetPasswordByPhone(String mobilePhone, String newPassword);

    List<NjtSupervisor> selectSupervisorList(NjtSupervisor supervisor);
    int insertSupervisor(NjtSupervisor supervisor);
    int updateSupervisor(NjtSupervisor supervisor);
    int deleteSupervisorById(Long id);
    NjtSupervisor selectSupervisorById(Long id); // 确保此方法存在
}